class AddColumnStatusCareandMaintenance < ActiveRecord::Migration
  def self.up
    add_column :cultural_heritage_care_and_maintenances, :comments_sup, :text
    add_column :cultural_heritage_care_and_maintenances, :status, :integer, :default => 0
    add_column :cultural_heritage_care_and_maintenances, :comments_exp, :text
    add_column :cultural_heritage_care_and_maintenances, :supervisor, :integer
    add_column :cultural_heritage_care_and_maintenances, :expert, :integer
    add_column :cultural_heritage_care_and_maintenances, :mayor, :integer, :default => 0
  end

  def self.down
    remove_column :cultural_heritage_care_and_maintenances, :comments_sup
    remove_column :cultural_heritage_care_and_maintenances, :status
    remove_column :cultural_heritage_care_and_maintenances, :comments_exp
    remove_column :cultural_heritage_care_and_maintenances, :supervisor
    remove_column :cultural_heritage_care_and_maintenances, :expert
    remove_column :cultural_heritage_care_and_maintenances, :mayor
  end
end
